﻿using Model.Dto;
using System;
using System.ComponentModel.DataAnnotations.Schema;
using Utility;

namespace Model
{
    [Serializable]
    [PrimaryKey("Id")]
    [Table("Sys_Role")]
    public class Sys_Role : BaseData
    {
        public string RoleName { get; set; }
        public string RoleCode { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Memo { get; set; }
        public int SortCode { get; set; }
        public string MenuIds { get; set; }
    }

    /// <summary>
    /// 查询参数模型
    /// </summary>
    public class RoleQuery : BaseQueryModel
    {
        public string RoleName { get; set; }
        public string RoleCode { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Memo { get; set; }
    }
}
